package cn.gok.springsecuritydemo4.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: chen fan
 * @since: 2022/11/22 15:28
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("t_role")
public class Role {

    @TableId
    private Integer id;

    @TableField("ROLE_NAME")
    private String roleName;

    @TableField("ROLE_DESC")
    private String roleDesc;
}
